import React, { Component } from 'react';
import { BrowserRouter as Router, Route, Link, Switch} from 'react-router-dom';

class Title extends Component {

    constructor(props){
        super(props);

        this.props = props;
    }

    render() {
        return (
            <div className='auth-header '>
                    <Link to='/'>
                         <i className="icon iconfont icon-back_light auth-back"></i>
                    </Link>
                    <span className='auth-header-title'>{this.props.title}</span>
            </div>
        );
    }

}

export default Title;
